import request from '@/utils/request'

export function getDashboradData() {
  return request({
    url: '/erp/dashboard',
    method: 'get',
  })
}

export function getWeekData() {
  return request({
    url: '/erp/dashboard/orderReport/week',
    method: 'get',
  })
}

export function getMonthData() {
  return request({
    url: '/erp/dashboard/orderReport/month',
    method: 'get',
  })
}

export function getYearData() {
  return request({
    url: '/erp/dashboard/orderReport/year',
    method: 'get',
  })
}
